package com.ebupt.migu.music.oscloud.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * @author liuyangyang@e-byte.com
 * @description: TODO
 * @date 2023/7/10 17:10
 */
@Mapper
@DS("mysql_mg")
public interface OSCloudMapper {

    /**
     * 查询客群明细
     * 客群状态不为“2-待提交（草稿箱）”，“9-已删除”，“21-统一标签平台临时客群”
     *
     * @return
     */
    public List<HashMap<String, String>> queryCustomers();

    /**
     * 查询活动明细
     * 活动状态不为“2-已驳回”
     *
     * @return
     */
    public List<HashMap<String, String>> queryOfflineActivities();

    /**
     * 查询变色龙活动明细
     *
     * @return
     */
    public List<HashMap<String, String>> queryOnlineActivities();

    /**
     * 查询自动触发活动详情
     *
     * @return
     */
    public List<HashMap<String, String>> queryAutoTriActivities();
}
